package com.songcha.module_vip.api



import com.songcha.library_network.bean.BaseBean
import com.songcha.library_network.bean.BaseIntDataBean
import com.songcha.module_vip.bean.vip.CreateAlipayVipRechargeOrderDataBean
import com.songcha.module_vip.bean.vip.CreateWxVipRechargeOrderDataBean
import com.songcha.module_vip.bean.vip.VipRechargePriceDataBean
import io.reactivex.Observable
import retrofit2.http.GET
import retrofit2.http.POST
import retrofit2.http.Path

interface VipApiService {

    @GET("/api/token/createAppOrderAli/{id}")
    fun createVipRechargeOrderAlipay(@Path("id") id: Int):Observable<CreateAlipayVipRechargeOrderDataBean>

    @GET("/api/token/createAppOrderWx/{id}")
    fun createVipRechargeOrderWx(@Path("id") id: Int):Observable<CreateWxVipRechargeOrderDataBean>

    @GET("/api/token/openVipMoneyList")
    fun getVipRechargePriceList():Observable<VipRechargePriceDataBean>

    @GET("/api/token/selectOrderPayState/{id}")
    fun queryVipRechargeOrderState(@Path("id") id:String):Observable<BaseIntDataBean>
}